package File类.File类.Test03;

import java.io.File;

public class FileTest03 {
    public static void main(String[] args) {
        File file = new File("D:\\Desktop\\IDEA");
        File[] files = file.listFiles();
        for (File file1 : files){
            //System.out.println(file1.getAbsolutePath());
            System.out.println(file1.getName());
        }
    }
}


















